package com.tsd.system.service;

import com.tsd.core.vo.PageBean;
import com.tsd.system.entity.SysUser;
import com.tsd.system.entity.SysUserBind3rd;
import com.tsd.system.entity.SysUserBind3rdExt;

import java.util.List;
import java.util.Map;

/**
 * 描述：SysUserBind3rd服务实现层接口
 *
 * @author huawei
 * @date 2021/07/18 10:53:52
 */
public interface SysUserBind3rdService {

    /**
     * 描述：根据id获取SysUserBind3rd
     *
     * @param id
     */
    SysUserBind3rd getSysUserBind3rdById(Long id) throws Exception;

    /**
     * 描述：根据sid获取SysUserBind3rd
     *
     * @param sid
     */
    SysUserBind3rdExt queryBySid(String sid) throws Exception;

    /**
     * 描述：根据id删除SysUserBind3rd
     *
     * @param id
     */
    void deleteSysUserBind3rd(Long id, SysUser opUser) throws Exception;

    /**
     * 描述：保存或更新SysUserBind3rd
     *
     * @param record
     * @param opUser
     */
    void saveSysUserBind3rd(SysUserBind3rdExt record, SysUser opUser) throws Exception;

    /**
     * 描述：根据params分页查询SysUserBind3rd
     *
     * @param params
     * @param page
     */
    List<SysUserBind3rdExt> findSysUserBind3rds(Map<String, Object> params, PageBean page) throws Exception;

    /**
     * 描述：根据params分页查询SysUserBind3rd
     *
     * @param params
     */
    List<SysUserBind3rdExt> findSysUserBind3rds(Map<String, Object> params) throws Exception;
}